import api from './index'

// 公用接口
export default {
	getInfo: (params) => api.get('/getInfo', params),
	// 支付
	payParams: (params) => api.post('/wb/wbRepairOrder/appWxPayOrder', params),
	// 协议
	getAgreements: (id) => api.get('/wb/wbAgreements/' + id),
	// 获取banner
	getBannerList: (params) => api.get('/wb/wbBanner/list', params),
	// 维保状态变更
	updateWpPlan: (params) => api.get('/wb/app/wbPlan/accomplish', params),
	// 下载
	uploadWbResult: () => api.get('/test/download'),
	//红点
	getRedDot: () => api.get('/wb/wbRepairApply/getRedDot'),
	putRedDot: (params) => api.put('/wb/wbRepairApply/putRedDot',params),
	
	
}